import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {path:'/',component:()=>import('../views/Login.vue')},
    {path:'/login',component:()=>import('../views/Login.vue')},
    {path:'/chat',component:()=>import('../views/Main.vue')},
    {path:'/contact',component:()=>import('../components/ContactList.vue')},
  ],
})

export default router
